package com.mf.all.utils.tree;

/**
 * @Author: lmf
 * @Create: 2025/4/5 10:47
 * @module
 */

import java.util.List;

public interface TreeNode<T extends TreeNode<T, V, K>, V, K> {
    V getId();

    K getPid();

    Integer getSort();

    List<T> getChildren();

    void addChildren(T children);
    void setChildren(List<T> children);
}
